package com.pactera;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;
import org.springframework.core.annotation.Order;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.web.cors.CorsConfiguration;
import org.springframework.web.cors.UrlBasedCorsConfigurationSource;
import org.springframework.web.filter.CorsFilter;

@SpringBootApplication
@EnableScheduling
//@ComponentScan(basePackages = {"com.pactera.smart","com.pactera.smart.service"})
@MapperScan(value= {"com.pactera.smart.mapper"})
public class MobileReayApplication {

	public static void main(String[] args) {

		SpringApplication.run(MobileReayApplication.class, args);
	}


}
